import 'package:flutter/material.dart';
import 'package:flutter_appgetwe/page/commont/listindex.dart';
import 'package:flutter_appgetwe/page/detailvideo/detaill_video_index.dart';
import 'package:flutter_appgetwe/page/home/index.dart';
import 'package:flutter_appgetwe/page/list/index.dart';
import 'package:flutter_appgetwe/page/login/login_phone_screen.dart';
import 'package:flutter_appgetwe/page/login/signup_screen.dart';
import 'package:flutter_appgetwe/page/my/index.dart';
import 'package:flutter_appgetwe/viewmodel/tabbar_view.dart';

import '../page/loding.dart';
import '../page/login/login_screen.dart';
import '../viewmodel/tabbar_viewCopy.dart';



//路由入口
Map<String, WidgetBuilder> routes = {
  "/": (BuildContext context) => LogingPage(),
  "register": (BuildContext context) => SignupScreen(),
  "tabbar": (BuildContext context) => TabbarView(),
  "home":(BuildContext context) => HomePro(),
  "list":(BuildContext context) => ListPro(),
  "my":(BuildContext context) => MyPro(),
  "leftright":(BuildContext context) => HomeIndex(),
  "login": (BuildContext context) => LoginScreen(),
  "loginphone": (BuildContext context) => LoginPhoneScreen(),
  "homeindexpro": (BuildContext context) => HomeIndexPro(),
  "detailvideoindex": (BuildContext context) => DetailVideoIndex(),
};